package com.youlu.campus.web.complaint;

import com.youlu.campus.wechat.service.impl.MerchantComplaintService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 商户号通知投诉处理
 * 陕西蓝鹇文化传媒有限公司
 */
@RestController
public class LanXianComplaintNotifyController {

    @Resource
    private MerchantComplaintService merchantComplaintService;


    /**
     * 商户号通知投诉处理
     * 陕西蓝鹇文化传媒有限公司-1642496114
     * @param request
     * @return
     */
    @PostMapping("/public/complaint-notify/lanxian-1642496114")
    public Map<String,Object> ningLuNotify1642496114(HttpServletRequest request){
        return merchantComplaintService.complaintNotify(request);
    }

    /**
     * 商户号通知投诉处理
     * 陕西蓝鹇文化传媒有限公司-1642390759
     * @param request
     * @return
     */
    @PostMapping("/public/complaint-notify/lanxian-1642390759")
    public Map<String,Object> ningLuNotify1642390759(HttpServletRequest request){
        return merchantComplaintService.complaintNotify(request);
    }

}
